x86/cpuid: Handle leaf 0 in guest_cpuid()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 17 Jan 2017 16:48:58 +0000 (16:48 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Jan 2017 16:12:10 +0000 (16:12 +0000)
commite225a1c7c06037e4f938efa43d4407e7abb088c1
tree14c526e4393059146bf4aa6176472a94998d8776
parent2073a26f8920ac9c26323122308873d0bcc84be1
x86/cpuid: Handle leaf 0 in guest_cpuid()

Calculate a domains x86_vendor early in recalculate_cpuid_policy(); subsequent
patches need to make other recalculation decisions based on it.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpuid.c
xen/arch/x86/domctl.c
xen/include/asm-x86/cpuid.h